# CMakeLists
# Author(s): xuming.Wong <xuming.Wong@gmail.com>

#-----------------------------------------------------------------------------
# Third party dependency stormlib(manipulate mpq files)
# Setup the lib sources

FILE(GLOB SRC *.cpp adpcm/*.cpp bzip2/*.c huffman/*.cpp 
libtomcrypt/src/hashes/*.c libtomcrypt/src/headers/*.c 
libtomcrypt/src/math/*.c libtomcrypt/src/misc/*.c
libtomcrypt/src/pk/asn1/*.c libtomcrypt/src/pk/ecc/*.c
libtomcrypt/src/pk/pkcs1/*.c libtomcrypt/src/pk/rsa/*.c
libtommath/*.c lzma/C/*.c pklib/*.c sparse/*.cpp zlib/*.c)

SET(INC .
	./adpcm
	./bzip2
	./huffman
	./libtomcrypt/src/hashes
	./libtomcrypt/src/headers
	./libtomcrypt/src/math
	./libtomcrypt/src/misc
	./libtomcrypt/src/pk/asn1
	./libtomcrypt/src/pk/ecc
	./libtomcrypt/src/pk/pkcs1
	./libtomcrypt/src/pk/rsa
	./libtommath
	./lzma/C
	./pklib
	./sparse
	./zlib
)

BUILD_LIB(stormlib "${SRC}" "${INC}")
